package com.ruoyi.laiwu.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 告警位置业务对象 lw_alarm_position
 *
 * @author ruoyi
 * @date 2024-03-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class LwAlarmPositionBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 子ID
     */
    @NotNull(message = "子ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long subId;



    /**
     * 经度
     */
    @NotNull(message = "经度不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal longitude;

    /**
     * 纬度
     */
    @NotNull(message = "纬度不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal latitude;

    /**
     * Pan值
     */
    @NotNull(message = "Pan值不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long pan;

    /**
     * Tilt值
     */
    @NotNull(message = "Tilt值不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long tilt;

    /**
     * 缩放值
     */
    @NotNull(message = "缩放值不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long zoom;

    /**
     * 高度值
     */
    @NotNull(message = "高度值不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long height;

    /**
     * 制造商ID
     */
    @NotNull(message = "制造商ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long mfrs;


}
